package com.yunxin.core.infra.persistence.mapper.order;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.yunxin.core.application.dto.order.ChannelPromotionTwoUvStatisticsVo;
import com.yunxin.core.infra.persistence.entity.order.query.condition.OrderUserApplyAllocationPageCondition;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@DS("core")
@Mapper
public interface ChannelPromotionTwoUvStatisticsMapper {


    /**
     * 分页查询二次uv统计表
     * @param condition
     * @return
     */
    List<ChannelPromotionTwoUvStatisticsVo> twoUvOrderStatistics(OrderUserApplyAllocationPageCondition condition);

    /**
     * 分页查询二次uv条数
     * @param condition
     * @return
     */
    long countOrderUserApplyAllocationPageQuery(OrderUserApplyAllocationPageCondition condition);
}
